package de.wwu.moneyrec;

public class ThreadCounter {
	
	private int activeThreads;

	public ThreadCounter(int activeThreads){
		this.activeThreads = activeThreads;		
	}

	public void setActiveThreadsPlus() {
		activeThreads++;
	}

	public void setActiveThreadsMinus() {
		activeThreads--;
	}
	
	public int getActiveThreads(){
		return activeThreads;
	}

}
